<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<div class="navbar navbar-fixed-top bs-docs-nav" role="banner">
  
    <div class="conjtainer">
      <!-- Menu button for smallar screens -->
      <div class="navbar-header">
		  <button class="navbar-toggle btn-navbar" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
			<span>菜单</span>
		  </button>
		  <!-- Site name for smallar screens -->
		  <a href="${pageContext.request.contextPath}/adminMain.action" class="navbar-brand hidden-lg">首页</a>
		</div>
      
      

      <!-- Navigation starts -->
      <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">         

        <ul class="nav navbar-nav">  

          <!-- Upload to server link. Class "dropdown-big" creates big dropdown -->
          <li class="dropdown dropdown-big">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="label label-success">
            <i class="icon-cloud-upload"></i></span>预留1</a>
            <!-- Dropdown -->
            <ul class="dropdown-menu">
              <li>
                <!-- Progress bar -->
                <p><a href ="${pageContext.request.contextPath}/adminMain.action">管理员主页</a></p>
                <hr />
                <!-- Dropdown menu footer -->
                <div class="drop-foot">
                  <a href="#">当前权限：${sessionScope.login.loginName}</a>
                </div>

              </li>
            </ul>
          </li>

          <!-- Sync to server link -->
          <li class="dropdown dropdown-big">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="label label-danger"><i class="icon-refresh"></i></span>预留2</a>
            <!-- Dropdown -->
            <ul class="dropdown-menu">
              <li>
                <!-- Using "icon-spin" class to rotate icon. -->
                <p><span class="label label-info"><i class="icon-cloud"></i></span>
					<a href ="${pageContext.request.contextPath}/adminMain.action">管理员主页</a>
				</p>
                <hr />
                <p><span class="label label-warning"><i class="icon-cloud"></i></span>
					<a href ="${pageContext.request.contextPath}/userIndex.action">用户主页</a>
				</p>
                <hr />
                <!-- Dropdown menu footer -->
                <div class="drop-foot">
                  <a href="#">查看所有</a>
                </div>

              </li>
            </ul>
          </li>

        </ul>

        <!-- Search form -->
        <form class="navbar-form navbar-left" role="search">
			<div class="form-group">
				<input type="text" class="form-control" placeholder="查询">
			</div>
		</form>
        <!-- Links -->
        <ul class="nav navbar-nav pull-right">
          <li class="dropdown pull-right">            
            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
              <i class="icon-user"></i>
              ${sessionScope.login.loginName}<b class="caret"></b>
              <%-- ${sessionScope.Login.loginName}<%=session.getId() %><b class="caret"></b>   --%>            
            </a>
            
            <!-- Dropdown menu -->
            <ul class="dropdown-menu">
              <li><a href="${pageContext.request.contextPath}/manageUser.action"><i class="icon-user"></i> 资料</a></li>
              <li><a href="${pageContext.request.contextPath}/modifyPassword.action"><i class="icon-cogs"></i> 密码修改</a></li>
              <li><a href="${pageContext.request.contextPath}/logout.action"><i class="icon-off"></i> 退出</a></li>
            </ul>
          </li>
          
        </ul>
      </nav>

    </div>
  </div>


<!-- Header starts -->
  <header>
    <div class="container">
      <div class="row">

        <!-- Logo section -->
        <div class="col-md-4">
          <!-- Logo. -->
          <div class="logo">
            <h1><a href="#">Delicious<span class="bold"></span></a></h1>
            <p class="meta">美食平台信息管理</p>
          </div>
          <!-- Logo ends -->
        </div>
      </div>
    </div>
  </header>

<!-- Header ends -->

